<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::any("/test/{id}/{fi}/{cas}", function (Request $request, $id, $fi, $cas) {
    dd($id, $fi, $cas,$request->all());
});

Route::group([
    'namespace' => '\\App\\Http\\Controllers\\Api'
], function () {
    Route::any('/tx/{id}/{fi}/{cas}', 'ClueController@txPost');
    Route::any('/ks/{id}/{fi}/{cas}', 'ClueController@ksPost');
    Route::any('/jl/{id}/{fi}/{cas}', 'ClueController@jlPost');
    Route::any('/hw/{id}/{fi}/{cas}', 'ClueController@hwPost');
    Route::any('/db/{id}/{fi}/{cas}', 'ClueController@bdPost');
    Route::any('/bd/{id}/{fi}/{cas}', 'ClueController@bdPost');
    Route::any('/customer/{id}/{fi}/{cas}', 'ClueController@customerPost');
});

